package com.paas.form.service;

import com.paas.common.model.RestResponse;
import com.paas.form.entity.FormViewEntity;
import com.paas.common.web.service.IBaseService;
import com.paas.form.vo.ViewFinalizeVo;

import java.util.List;


public interface IFormViewService extends IBaseService<FormViewEntity>{

    /**
     * 定版视图审批显示查询
     * @param viewId
     * @return
     */
    public ViewFinalizeVo getViewFinalizeById(String viewId);

    /**
     * 查询子视图信息
     * @param viewId
     * @return
     */
    RestResponse opposeViewFinalize(String viewId);

    /**
     * 视图发布反对
     * @param viewId
     * @return
     */
    RestResponse approvalViewChange(String viewId);

    /**
     * 视图发布审批通过
     * @param viewId
     * @return
     */
    List<FormViewEntity> getChildViewByViewId(String viewId);
}